package net.sx.minemodule.mvp.item;

import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.model.HistoryBrokerageModel;

/**
 * 历史佣金记录item
 */
public class HistoryBrokerageItem extends BaseItem<HistoryBrokerageModel> {

    public HistoryBrokerageItem(HistoryBrokerageModel data) {
        super(data);
    }

    @Override
    public int getLayout() {
        return R.layout.mine_item_history_brokerage;
    }

    public String getHistoryTime() {
        return getData().getHistoryTime();
    }

    public String getTotalCommission() {
        return getData().getTotalCommission();
    }
}
